package com.yatb.trac.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

public class TracSetupController extends AbstractController{

	
	

    @Override
    protected ModelAndView handleRequestInternal(HttpServletRequest hsr, HttpServletResponse hsr1) throws Exception {
        ModelAndView mav = new ModelAndView();
        String uri = hsr.getRequestURI();
        String page = uri.substring(uri.lastIndexOf("/")+1);
        page = page.substring(0,page.indexOf("."));
        mav.setViewName(page);
        return mav;
    }
	
	
}
